package cn.bon.websocket.interfaces;

import cn.bon.websocket.pojo.dto.MessageDTO;
import com.fasterxml.jackson.core.JsonProcessingException;

/**
 * @author: dronff
 * @description: 消息推送器
 * @CreateTime: 2023/12/12 15:58
 **/
public interface MessagePusher {
    void push(MessageDTO messageDTO) throws JsonProcessingException;

    void shutDown();
}
